package com.plant.order.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Order {
    private Integer id;
    private Integer uid;
    private Integer pay;
    private String  order_id;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date order_time;
    private Integer order_status;
    private Integer shop_id;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date start_time;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date end_time;

    private String sname;
    private String surl;
    private String price;
    private String brief;
    private String username;
    private String phone;
    private String city;
}
